package com.huashi.BinaryTree;

/**
 * The type Tree node.
 * 二叉树结构
 */
public class TreeNode {
    /**
     * The Val.
     */
    int val;
    /**
     * The Left.
     */
    TreeNode left;
    /**
     * The Right.
     */
    TreeNode right;

    /**
     * Instantiates a new Tree node.
     *
     * @param x the x
     */
    TreeNode(int x) { val = x; }
}
